import { fromJS } from 'immutable'

const defaultState = fromJS({
  topicList: [
    {
      id: 1,
      title: '读书',
      img:
        '//upload.jianshu.io/collections/images/4/sy_20091020135145113016.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/64/h/64'
    },
    {
      id: 2,
      title: '故事',
      img:
        '//upload.jianshu.io/collections/images/95/1.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/64/h/64'
    },
    {
      id: 3,
      title: '@IT·互联网',
      img:
        '//upload.jianshu.io/collections/images/14/6249340_194140034135_2.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/64/h/64'
    },
    {
      id: 4,
      title: '摄影',
      img:
        '//upload.jianshu.io/collections/images/83/1.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/64/h/64'
    },
    {
      id: 5,
      title: '旅行·在路上',
      img:
        '//upload.jianshu.io/collections/images/13/%E5%95%8A.png?imageMogr2/auto-orient/strip|imageView2/1/w/64/h/64'
    },
    {
      id: 6,
      title: '自然科普',
      img:
        '//upload.jianshu.io/collections/images/76/12.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/64/h/64'
    },
    {
      id: 7,
      title: '手绘',
      img:
        '//upload.jianshu.io/collections/images/283250/%E6%BC%AB%E7%94%BB%E4%B8%93%E9%A2%98.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/64/h/64'
    }
  ],
  articleList: [
    {
      id: 1,
      title: '枕上书续',
      img:
        '//upload-images.jianshu.io/upload_images/12591548-0cfb340c04d6fdba.jpeg?imageMogr2/auto-orient/strip|imageView2/1/w/300/h/240',
      abstract:
        '东华回天宫，当即判了姬蘅雷刑，没将她即刻处死，他九儿的一双眼睛如今还在那姬蘅眼眶里，怕九儿回来再讨不回那双眼睛。...'
    },
    {
      id: 2,
      title: '从咪蒙P图说起，我的自信与你无关',
      img:
        '//upload-images.jianshu.io/upload_images/12597345-a614c4ccd9ea3fd7.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/300/h/240',
      abstract:
        '01 要说现在自媒体谁最火，咪蒙当仁不让，随便一篇文章就可以达到10万+的阅读量，这可真是羡煞旁人。她写文章和运营公众号的能力，十分值得我们学习...'
    },
    {
      id: 3,
      title: '在日更的第一百天，说出我心里的愿望',
      img:
        '//upload-images.jianshu.io/upload_images/10377480-6457ded17421fb71.png?imageMogr2/auto-orient/strip|imageView2/1/w/300/h/240',
      abstract:
        '今天，是我在简书里坚持日更的第一百天。说实话，在简书连续写是从五一开始的，挑战日更才是六月二十一号的事情。 还记得那晚看到“日更挑战”这四个字时...'
    },
    {
      id: 4,
      title: '一口气要买10个的屈臣氏宝藏。',
      img:
        '//upload-images.jianshu.io/upload_images/3010813-486fd04cbdbae861.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/300/h/240',
      abstract:
        '大家好， 今天就来介绍一下屈臣氏的好物分享 最多推荐的就是骨胶原系列和花王眼罩了，好用程度不用赘述，很 多人都用了快10年了。比如一一 柠檬冬眠...'
    },
    {
      id: 5,
      title: '被老公家暴6年后，她自愿跟着人贩走',
      img:
        '//upload-images.jianshu.io/upload_images/1812827-5b00d2bf5b961d0e.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/300/h/240',
      abstract:
        '文/婉兮 1 二十多年前，我有个玩伴叫秋云。 秋云的妈妈叫秀萍，嫁在十几公里以外的小村庄。每隔几天，秀萍阿姨便挽着布包牵着女儿，风尘仆仆地往娘家...'
    }
  ],
  recommendList: [
    {
      id: 1,
      img:
        '//cdn2.jianshu.io/assets/web/banner-s-3-7123fd94750759acf7eca05b871e9d17.png'
    },
    {
      id: 2,
      img:
        '//cdn2.jianshu.io/assets/web/banner-s-4-b70da70d679593510ac93a172dfbaeaa.png'
    },
    {
      id: 3,
      img:
        '//cdn2.jianshu.io/assets/web/banner-s-7-1a0222c91694a1f38e610be4bf9669be.png'
    },
    {
      id: 4,
      img:
        '//cdn2.jianshu.io/assets/web/banner-s-5-4ba25cf5041931a0ed2062828b4064cb.png'
    },
    {
      id: 5,
      img:
        '//cdn2.jianshu.io/assets/web/banner-s-6-c4d6335bfd688f2ca1115b42b04c28a7.png'
    }
  ]
})

export default (state = defaultState, action) => {
  switch (action) {
    default:
      return state
  }
}
